package com.xxq.gulimall.search.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

@Data
@Document(indexName = "bank")
public class BankEntity {

    @Id
    @Field(name = "account_number")
    private Long accountNumber;

    private String address;
    private Long age;
    private Long balance;
    private String city;
    private String email;
    private String employer;
    private String firstname;
    private String gender;
    private String lastname;
    private String state;

}
